package smokesignals.data;

import com.googlecode.recycled.lang.jse.lang.TimestampGenerator;

/**
 * @author Henryk Konsek
 */
public class TimestampIdAssigner implements IdAssigner<String> {

    @Override
    public void assignId(WithAssignableId<String> withAssignableId) {
        withAssignableId.assign(TimestampGenerator.nextTimestamp());
    }

}
